/*Reset some default styles*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  color: #333;
  line-height: 1.6;
}

/*Header styles*/
header {
  background: linear-gradient(to right, #0077ff, #00d4ff);
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 5px solid #00aaff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

header h2 {
  font-size: 1.3rem;
  font-weight: 300;
}

/*Reusable container class*/
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/*About section styling*/
#about {
    background:white;
    padding: 3rem 0;
    color: #444;
    border-bottom: 1px solid #ddd;
}

#about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0077ff;
  text-align: center;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#skills {
  background-color: #f9fafc;
  padding: 3rem 0;
}

#skills h2 {
  text-align: center;
  color: #0077ff;
  margin-bottom: 2rem;
}

.skill-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill {
  background: white;
  padding: 1rem;
  border: 2px solid #00aaff;
  border-radius: 8px;
  font-weight: bold;
  color: #0077ff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.skill:hover {
  transform: translateY(-5px);
  background: #00aaff;
  cursor: default;
  color: white;
}

#experience {
  background-color: #ffffff;
  padding: 3rem 0;
}

#experience h2 {
  text-align: center;
  color: #0077ff;
  margin-bottom: 2rem;
}

.experience-item {
  background: white;
  padding: 1rem 2rem;
  border-left: 5px solid #00aaff;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.experience-item h3 {
  color: #005f99;
  margin-bottom: 0.5rem;
}

.company {
  font-weight: bold;
  color: #333;
}

.duration {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
}

.experience-item:nth-child(even) {
  background: #e6f7ff;
}

.contact {
  padding: 60px 20px;
    background-color: #fefefe;
    text-align: center;
}

.contact h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form button {
  padding: 15px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}

.social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 18px;
}

.social-links a{
  text-decoration: none;
  color: #0077cc;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #005fa3;
}

.projects {
  padding: 60px 20px;
  background-color: #f5faff;
  text-align: center;
}

.projects h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.project-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0077cc;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0077cc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0077cc;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #0077cc;
  border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

 .hover-button {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.hover-button:hover {
    background-color: #2980b9;
    transform: scale(1.1);
    border-color: #2980b9;
} 
}
